package org.example.gift.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterDto {

    @NotNull(message = "手机号码不能为空")
    private String phone;
    private String type;
    @NotNull(message = "密码不能为空")
    private String password;
    @NotNull(message = "手机验证码不能为空")
    private String phoneCode;

}